Skip to content

Updated threex.domevent.js#34

Open
JoeBonham wants to merge 1 commit intojeromeetienne:masterfrom
JoeBonham:patch-1
Open

Updated threex.domevent.js#34
JoeBonham wants to merge 1 commit intojeromeetienne:masterfrom
JoeBonham:patch-1

Conversation

@JoeBonham
Copy link
Copy Markdown

Integrated threex.domevent with threex.domevent.object3d as threex.domevent will not work as expected without it.

Updated a few function calls to ensure compatibility with newer versions of ThreeJS (Credit: http://learningthreejs.com/blog/2012/01/17/dom-events-in-3d-space/#comment-802169267)

Updated the read me at the top of the page to reference the need to use:

THREE.Object3D._threexDomEvent.camera(CAMERA_VAR)

before setting up any events.

Integrated THREE.domevent with THREE.Object3D as domevent will not work as expected without it.

Updated a few function calls to ensure compatibility with newer versions of ThreeJS (Credit for this: http://learningthreejs.com/blog/2012/01/17/dom-events-in-3d-space/#comment-802169267).

Updated the read me at the top of the page to reference the need to use:

THREE.Object3D._threexDomEvent.camera(CAMERA_VAR) 

before setting up any events.
@btholt
Copy link
Copy Markdown

btholt commented Apr 28, 2013

I reviewed his code and these are nearly identical changes to the ones I made to get mine to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants